package com.powernode.feign.hystrix;

import com.alibaba.fastjson.JSON;
import com.powernode.feign.UserCollectEsFeign;
import com.powernode.model.ProdEs;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * 内容:
 * 作者: cy
 */
@Component
@Slf4j
public class UserCollectEsFeignHystrix implements UserCollectEsFeign {

    @Override
    public List<ProdEs> getProdEsByProdId(List<Long> prodIds) {
        log.error("根据商品的ids检索商品集合失败，商品的ids为{}", JSON.toJSONString(prodIds));
        return null;
    }
}
